<template>
  <div class="butbar">
      
     
    <van-tabbar v-model="active">
            <router-link to="/home"><van-tabbar-item icon="home-o">商城</van-tabbar-item></router-link>

            <router-link to="/phone"><van-tabbar-item icon="search">全部产品</van-tabbar-item></router-link>


             <router-link to="/zhongxin"><van-tabbar-item icon="point-gift-o">新年好礼</van-tabbar-item></router-link>

           <router-link to="/shop"><van-tabbar-item icon="cart-circle-o">购物车</van-tabbar-item></router-link> 
           
           <router-link to="/ming"><van-tabbar-item icon="friends-o">我的</van-tabbar-item></router-link>
           
</van-tabbar>
  </div>
</template>

<script>
export default {
     data() {
    return {
      active: 0,
    };
  },
}
</script>

<style scoped>
    
    .van-tabbar{
        display:flex;
        justify-content:space-around;
      /* padding-top:100px ; */
    }
</style>